Skip to main content

LLMExampleFunction

LLMExampleFunction[{in1->out1,in2->out2,…}] creates an LLMFunction from few-shot examples.

LLMExampleFunction[{in1,in2,…}->{out1,out2,…}] generates the same result.

LLMExampleFunction[{header,training}] prefaces the prompt with header.

LLMExampleFunction[prompting,form] includes the interpreter form to apply to the response.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.